package cc.admin.modules.sys.entity;

import cc.admin.common.sys.vo.TenantModel;
import cc.admin.poi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("system_message_recording")
public class SystemMessage extends TenantModel {

    /***/
    @Excel(name = "", width = 15)
    @ApiModelProperty(value = "")
    private String id;
    /**标题*/
    @Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题")
    private String messageHeader;
    /**内容*/
    @Excel(name = "内容", width = 15)
    @ApiModelProperty(value = "内容")
    private String messageContent;
    /***/
    @Excel(name = "", width = 15)
    @ApiModelProperty(value = "")
    private String userId;
    /**通告对象*/
    @Excel(name = "通告对象", width = 15)
    @ApiModelProperty(value = "通告对象")
    private String userName;
    /**消息类型*/
    @Excel(name = "消息类型", width = 15)
    @ApiModelProperty(value = "消息类型")
    private String messageType;
    /**消息类型*/
    @Excel(name = "消息类型", width = 15)
    @ApiModelProperty(value = "消息类型")
    private String announcementId;
    /**消息类型*/
    @Excel(name = "发布日期", width = 15)
    @ApiModelProperty(value = "发布日期")
    private java.util.Date sendTime;
    /**消息类型*/
    @Excel(name = "发布人", width = 15)
    @ApiModelProperty(value = "发布人")
    private String sender;
    /**消息类型*/
    @Excel(name = "发布人名称", width = 15)
    @ApiModelProperty(value = "发布人名称")
    private String senderName;
    /**
     * 开始时间
     */
    @Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;
}
